home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Misc / msql-1.0.6 / src / regexp / regerror.c < prev    next >
C/C++ Source or Header  |  1994-06-29  |  203b  |  17 lines

  1. #include <stdio.h>
  2.  
  3. #include <common/portability.h>
  4.  
  5. void
  6. regerror(s)
  7. char *s;
  8. {
  9. #ifdef ERRAVAIL
  10.     error("regexp: %s", s);
  11. #else
  12.     fprintf(stderr, "regexp(3): %s", s);
  13.     exit(1);
  14. #endif
  15.     /* NOTREACHED */
  16. }
  17.